home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / GatorGeo / Source / GeoClient.h < prev    next >
Text File  |  1992-03-09  |  2KB  |  73 lines

  1. // GeoClient.h
  2. // By Charles G. Fleming, Educational Computing Services, Allegheny College.
  3. // You may freely copy, distribute and reuse this code. 
  4. // Allegheny College and the author disclaim any warranty of any kind, 
  5. // expressed or implied, as to its fitness for any particular use.
  6. // This work was partially supported by a grant from the Vira Heinz Endowment.
  7.  
  8. #import <appkit/Window.h>
  9.  
  10. @interface GeoClient:Window
  11. {
  12.     id loginMessageWindow;
  13.     id searchingMessageWindow;
  14.     id errorMessageWindow;
  15.     id errorMessageScrollView;
  16.     id queryButton;
  17.     id statesPullDownListButton;
  18.     id statesPullDownList;
  19.     id moreStatesPullDownListButton;
  20.     id moreStatesPullDownList;
  21.     id    cityTextField;
  22.     id stateTextField;
  23.     id countyCodeTextField;
  24.     id countyNameTextField;
  25.     id stateAbbrTextField;
  26.     id stateNameTextField;
  27.     id nationAbbrTextField;
  28.     id nationNameTextField;
  29.     id areaCodeTextField;
  30.     id elevationTextField;
  31.     id featureCodeTextField;
  32.     id featureNameTextField;
  33.     id latitudeTextField;
  34.     id longitudeNameTextField;
  35.     id censusTextField;
  36.     id remarkTextField;
  37.     id timeZoneTextField;
  38.     id zipScrollView;
  39.     id subprocess;
  40.     id records;
  41.     struct dataRecord
  42.     {
  43.         char city[30];
  44.     char countyCode[30];
  45.     char countyName[30];
  46.     char stateAbbr[30];
  47.     char stateName[30]; 
  48.         char nationAbbr[30];
  49.     char nationName[30];
  50.     char areaCode[30];
  51.     char elevation[30];
  52.     char featureCode[30]; 
  53.     char featureName[30]; 
  54.         char latitude[30];
  55.     char longitude[30];  
  56.     char census[30];
  57.     char remark[30];
  58.     char timeZone[30];
  59.     char zip[4000]; 
  60.     } record;        
  61. }
  62.  
  63. - appDidInit:sender;
  64. - query:sender;
  65. - selectState:sender;
  66. - clearTextFields;
  67. - resetPullDownList;
  68. - subprocessOutput:(char *)buffer;
  69. - subprocessDone;
  70. - appWillTerminate:sender;
  71. - selectState:sender;
  72. @end
  73.